package cn.wxq.daily.empdailymgforserve.mapper;
import cn.wxq.daily.empdailymgforserve.domain.Reimbursement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReimbursementDao {
    /**
     * 条件查询
     * @return
     */
    public List<Reimbursement> findByPage(Reimbursement reimbursement);


    /**
     * 新增
     * @return
     */
    public int insertReimbursement(Reimbursement reimbursement);

    /**
     * 修改
     * @return
     */
    public int updateReimbursement(Reimbursement reimbursement);

    /**
     * 删除
     * @param reimId
     * @return
     */
    public int deleteById(Integer reimId);

    /* */
    /**
     * 获取详情
     * @param reimId
     * @return
     */
    public Reimbursement selectReimbursementById(Integer reimId);
}
